﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PC.PickleJar.Domain
{
	public abstract class ItemKeyBase
	{
		public object Value
		{
			get;
			protected set;
		}

		public abstract override string ToString();
	}

	public abstract class ItemKeyBase<T> : ItemKeyBase
	{
		private ItemKeyBase()
		{
		}

		protected ItemKeyBase(T keyValue)
		{
			this.Value = keyValue;
		}

		public new T Value
		{
			get;
			protected set;
		}
	}
}
